package com.atguigu.spzx.cart;

import com.atguigu.spzx.common.config.EnableSpzxAuth;
import com.atguigu.spzx.product.client.anno.EnableProductClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;


@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableSpzxAuth //cart服务所有接口必须登录才可以访问
@EnableProductClient //启用product的feign客户端组件加载
public class SpzxCartApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpzxCartApplication.class , args);
    }
}
